import { Component, OnInit } from '@angular/core';
import { Recipe } from '../recipe.model';

@Component({
  selector: 'app-recipe-list',
  templateUrl: './recipe-list.component.html',
  styleUrls: ['./recipe-list.component.scss']
})
export class RecipeListComponent implements OnInit {
  recipes: Recipe[] = [
    new Recipe('A Recipe', 'This is test', 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1542955409&di=d374039a314458191a103cda3012c216&imgtype=jpg&er=1&src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01d33b55687dcc0000012716918b73.jpg%401280w_1l_2o_100sh.jpg'),
    new Recipe('B Recipe', 'This is b', 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1542360690540&di=17b26a83a7a6880a222d586cb1752982&imgtype=0&src=http%3A%2F%2Fdmp.vx888.net%2Fimage%2F2016%2F1120%2F14%2F14796249625933.jpg')
  ];

  constructor() { }

  ngOnInit() {
  }

}
